import json

def main():
    ms = []
    for i in range(0, 21):
        filename = 'meizi{0}.json'.format(i)
        with open(filename) as f:
            data = json.load(f)
            ms = ms + data
    print(len(ms))
    with open('type_damm.json', 'wb') as f:
        f.write(json.dumps(ms))

def t():
    url = 'http://www.biread.net/forum-37-{0}.html'
    a = url.split('-')
    b = a[len(a)-1].split('.')
    c = b[0]
    print(c)

if __name__ == '__main__':
    # main()
    t()
    # with open('meizi0.json') as f:
    #     data = json.load(f)
    #     print(data)